const express = require('express');
var administratorController = require('../controller/administrator.controller');

module.exports=(app)=>{
    var router = express.Router();
    router.route('/:id/:ban')
        .get(administratorController.banOperation);


    app.use('/ad',router);
    return router;
}